# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class DmsTableStruct(object):

    def __init__(self, tableName=None, primaryIndex=None, sql=None, metaTableInfo=None, columnInfos=None, indexInfos=None, extraTableInfo=None):
        """
        :param tableName: (Optional) 表名。
        :param primaryIndex: (Optional) 主键。
        :param sql: (Optional) 建表sql
        :param metaTableInfo: (Optional) 
        :param columnInfos: (Optional) 表中全部列信息。
        :param indexInfos: (Optional) 表中全部索引信息。
        :param extraTableInfo: (Optional) 广播表，分表额外信息。
        """

        self.tableName = tableName
        self.primaryIndex = primaryIndex
        self.sql = sql
        self.metaTableInfo = metaTableInfo
        self.columnInfos = columnInfos
        self.indexInfos = indexInfos
        self.extraTableInfo = extraTableInfo
